import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/pages/home/Home'
import Class from '@/pages/class/Class'
import Camera from '@/pages/camera/camera'
import Student from '@/pages/student/Student'
import Login from '@/pages/login/login'
import Record from '@/pages/record/record'

Vue.use(Router)

export default new Router({
  routes: [
   
    {
      path:'/',
      name:'Login',
      component:Login
    },
    {
      path: '/home',
      name: 'Home',
      component: Home,

    },
    {
      path: '/class',
      name: 'Class',
      component: Class
    },
    {
      path:'/camera',
      name:'Camera',
      component:Camera
    },
    {
      path:'/student',
      name:'Student',
      component:Student
    },
    {
      path:'/record',
      name:'Record',
      component:Record
    }
  ]
})
